# 设置依赖jdk
FROM frolvlad/alpine-oraclejdk8:slim
# 维护信息
MAINTAINER beidougeo
# 挂载盘以备后续使用
VOLUME /tmp
# 将target下的jar包添加到docker镜像的根目录
ADD /target/engine-0.0.2-SNAPSHOT.jar ybsjzhy.jar
# 执行命令以启动jar包
# ENTRYPOINT ["java","-jar","-Xms10240m","-Xmx20480m","/ybsjzhy.jar"]
ENTRYPOINT ["java","-jar","-Xms23040m","-Xmx46080m","/ybsjzhy.jar"]